package com.uzai.console.dto.wechatprivate.wxcontacts;

import com.uzai.console.dto.BaseDto;
import com.uzai.console.dto.user.wechatuser.WechatUserGroupSendMsgDto;
import com.uzai.console.dto.user.wechatuser.WechatUserQuery;
import com.uzai.console.entity.GroupSendJob;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("个人微信|个人通信录增加群发消息任务参数")
public class AddBatchSendMessageTaskDto extends BaseDto {

    @ApiModelProperty("查询条件参数")
    private WxContactsQuery wxContactsQuery;

    @ApiModelProperty("群发消息参数")
    private WechatUserGroupSendMsgDto wechatUserGroupSendMsgDto;

    @ApiModelProperty(value = "群发消息主任务", hidden = true)
    private GroupSendJob groupSendJobParent;

    public WxContactsQuery getWxContactsQuery() {
        if(wxContactsQuery == null){
            wxContactsQuery = new  WxContactsQuery();
        }
        wxContactsQuery.setMerId(super.getMerId());
        return wxContactsQuery;
    }

    public void setWxContactsQuery(WxContactsQuery wxContactsQuery) {
        this.wxContactsQuery = wxContactsQuery;
    }

    public WechatUserGroupSendMsgDto getWechatUserGroupSendMsgDto() {
        return wechatUserGroupSendMsgDto;
    }

    public void setWechatUserGroupSendMsgDto(WechatUserGroupSendMsgDto wechatUserGroupSendMsgDto) {
        this.wechatUserGroupSendMsgDto = wechatUserGroupSendMsgDto;
    }

    public GroupSendJob getGroupSendJobParent() {
        return groupSendJobParent;
    }

    public void setGroupSendJobParent(GroupSendJob groupSendJobParent) {
        this.groupSendJobParent = groupSendJobParent;
    }
}
